package kpi.java_training.domain.questions;

import kpi.java_training.utils.XmlConstants;

import java.util.List;

public class OneFromManyAnswersQuestion extends Question {

    public OneFromManyAnswersQuestion(String textOfQuestion, List<String> answerVariants, String correctAnswer, int complexity) {
        super (textOfQuestion, answerVariants, correctAnswer, complexity);
    }

    @Override
    protected String getExplanationText() {
        return "Choose one answer";
    }

    @Override
    protected String getType() {
        return XmlConstants.QUESTION_TYPE_ONE;
    }
}
